import request from '@/utils/request'

//H5积分转赠明细列表
export function integralRecordList(params) {   
    return request({
        url: '/integral/donation/record/v1/list',
        method: 'get',
        params
    })
}

// 中台 编辑积分转赠费率配置
export function integralDonationConfig(data) {
    return request({
      url: '/integral/donation/config/v1',
      method: 'put',
      data
    })
}

// 获取 积分转赠费率配置
export function integralDonationConfigGetInfo() {   
    return request({
        url: '/integral/donation/config/v1/getInfo',
        method: 'get',
    })
}